project(model_base)


if(MSVC)
    set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
endif()

add_library(${PROJECT_NAME} SHARED model_base.cpp)

target_include_directories(${PROJECT_NAME} PUBLIC ${ONNXRUNTIME_INCLUDE_Dir} ${OpenCV_INCLUDE_DIRS})
target_link_libraries(${PROJECT_NAME} PRIVATE ${ONNXRUNTIME_LIBS} )
target_link_libraries(${PROJECT_NAME} PUBLIC ${OpenCV_LIBS})